<?php
/**
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
 */

$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
$cakeVersion = __d('cake_dev', 'CakePHP %s', Configure::version())
?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $cakeDescription ?>:
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');
		echo $this->Html->meta(array('name'=>'viewport','content'=>'width=device-width, initial-scale=1.0'));
		echo $this->Html->meta(array('name'=>'description','Content'=>''));
		echo $this->Html->meta(array('name'=>'author','content'=>''));
		echo $this->Html->css('../assets/bootstrap/css/bootstrap.min.css');
		echo $this->Html->css('../assets/bootstrap/css/bootstrap-responsive.min.css');
		echo $this->Html->css('../assets/bootstrap/css/bootstrap-fileupload.css');
		echo $this->Html->css('../assets/font-awesome/css/font-awesome.css');
		echo $this->Html->css(array('style','style_responsive'));
		echo $this->Html->css('style_default.css',array('id'=>'style_color'));
		echo $this->Html->css('../assets/fancybox/source/jquery.fancybox.css');
		echo $this->Html->css('../assets/uniform/css/uniform.default.css');
		
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
</head>
<body class="fixed-top">
	<!-- BEGIN HEADER -->
	<?php echo $this->element('header'); ?>
	<!-- END HEADER -->
	<!-- BEGIN CONTAINER -->
   	<div id="container" class="row-fluid">
		<!-- BEGIN SIDEBAR -->
		<?php echo $this->element('menu'); ?>
		<!-- END SIDEBAR -->
		<div id="main-content">
			<!-- BEGIN PAGE CONTAINER-->
			<div class="container-fluid">
				<!-- BEGIN PAGE -->
				<?php echo $this->fetch('content'); ?>			
				<!-- END PAGE --> 
			</div>
			<!-- END PAGE CONTAINER-->
		</div>
	</div>
   	<!-- END CONTAINER -->
	<!-- BEGIN FOOTER -->
	<?php echo $this->element('footer'); ?>
	<!-- END FOOTER -->
	<!-- BEGIN JAVASCRIPTS -->
	<?php
		echo $this->Html->script(array('jquery-1.8.3.min','jquery.blockui','scripts'));
		echo $this->Html->script('../assets/bootstrap/js/bootstrap.min.js');
		echo $this->Html->script('../assets/chosen-bootstrap/chosen/chosen.jquery.min.js');
		echo $this->Html->script('../assets/uniform/jquery.uniform.min.js');
		echo '<!-- ie8 fixes -->';
		echo '<!--[if lt IE 9]>';
		echo $this->Html->script(array('excanvas','respond'));
		echo '![endif]-->';
	?>
	<script>
      jQuery(document).ready(function() {       
         // initiate layout and plugins
         App.init();
      });
   </script>
	<!-- END JAVASCRIPTS -->
</body>
</html>
